<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>布局练习</title>
    <style>
        *{
            margin: 0 auto;
            padding: 0;
            list-style: none;
        }
        /* 清除浮动工具类 */
        .clearfix:after{
            content: "";
            display: block;
            clear: both;
        }
        .main{
            width: 970px;
            /* margin: 0 auto; */
            color: #FFF;
            
        }
        /* 头部 */
        .header{
            margin-bottom:10px ;
        }
        .header .header-left{ 
            float: left;
            width: 277px;
            height: 103px;
            background:rgb(255, 0, 0);
        }
        .header .header-right{
            float: right;
            margin-left: 14px;
            width: 679px;
        }

        .header .header-right .title{
            width: 137px;
            height: 49px;
            background: rgb(0, 255, 0);
            margin-bottom: 8px;
            float: right;
        }
        .header .header-right .intro{
            width: 679px;
            height: 46px;
            background: rgb(0, 255, 0);
            clear: both;
        }

        /* 身体 */


        .body .body-left{
            float: left;
            width: 310px;
            height: 435px;
            background: gold;
        }
        
        .body .body-right{
            float: left;
            margin-left: 10px;
            width: 650px;
        }

        .body .body-right .modules{
            width: 450px;
            float: left;
        }
        .body .body-right .modules .module1{
            height: 240px;
            margin-bottom: 10px;
            background: skyblue;
        }
        .body .body-right .modules .module2{
            height: 110px;
            margin-bottom: 10px;
            background: skyblue;
        }
        .body .body-right .modules .module3{
            height: 30px;
            margin-bottom: 10px;
            background: skyblue;
        }
        .body .body-right .slider{
            width: 190px;
            height: 401px;
            float: left;
            margin-left: 10px;
            background: purple;
        }
        .body .body-right .status{
            height: 25px;
            background: green;
        }
         /* 尾部 */
         .footer{
             width: 970px;
             height: 35px;
             background: blue;
             clear: both;
             margin-top: 10px;
             background-repeat: ;
         }
         
    </style>
</head>
<body>
    <div class="main">
        <div class="header clearfix">
            <div class="header-left"></div>
            <div class="header-right">
                <div class="title"></div>
                <div class="intro"></div>
            </div>
        </div>
        <div class="body clearfix">
            <div class="body-left"></div>
            <div class="body-right">
                <div class="content clearfix">
                    <div class="modules">
                        <div class="module1"></div>
                        <div class="module2"></div>
                        <div class="module3"></div>
                    </div>
                    <div class="slider"></div>
                </div>
                <div class="status"></div>
            </div>
        </div>
        <div class="footer"></div>
    </div>
</body>
</html>